home *** CD-ROM | disk | FTP | other *** search
-
- KOPYNEW - Version 3.00
-
-
- Format: KNEW
- KNEW S: T:
- KNEW S:FILE.NAM T:
-
- Flags: /p - do not pause for swapping of diskettes
-
- KOPYNEW or KNEW copies files from the source drive
- to the target drive if the files have a newer time and date on
- the source or if they are new files on the source drive. The files
- that are copied have the same date and time as they did on the
- source directory.
-
- For example, if there is a file `FILE1.NAM' dated 10/09/84
- on the source and a file `FILE1.NAM' on the target dated 10/08/84,
- then `FILE1.NAM' would be copied.
-
- If `FILE1.NAM' on the source is dated 10/09/84 with the time
- 09:30 am and is dated 10/09/84 on the target but with the time
- stamp of 06:00 am, then it would be copied to the target.
-
- If `FILE1.NAM' is found on the source but not on the target,
- it would be copied.
-
- NOTE: As KOPYNEW uses the time and date stamp from the directories
- to check to see if the source drive has the newer file, the time
- and date must be reasonably accurate. If you do not have a clock
- calendar on you machine, you must set the time and date manually
- or KOPYNEW will not work correctly.
-
- DEFAULTS:
-
- If no drive designators are given, drive C is the
- source and drive A is the target. Otherwise drive S is
- the source and drive T is the target. The drive designators
- must be in the range A to F or a to f.
-
- FILENAMES:
-
- Standard DOS file names are acceptable for the source drive.
- Wild card characters can be used. There is no facility to accept
- file names for the target drive. Files are copied to the target
- drive and are given the same name as on the source drive. If no
- file name is given, all files are copied. That is, KNEW S: T: and
- KNEW S:*.* T: are equivalent.
-
- FLAGS:
-
- Flags can be added to any of the calling formats. For
- example, KNEW will copy all new or updated files from drive C to
- drive A. KNEW /p will perform the same copy but it will not stop
- and prompt you to insert the diskettes.
-
-
- STATUS MESSAGES:
-
- S:FILE.NAM Copied - file is newer on the source drive so
- KNEW copied it to the target drive.
-
- S:FILE.NAM Not Copied - file has the same date and time or
- is newer on the target drive so it is not
- copied.
-
- S:FILE.NAM Deleted - file is newer on the source drive so
- KNEW tried to copy it to the target drive.
- The copy failed so the file is deleted
- from the target drive. The file on the
- source drive is intact.
-
- S:FILE.NAM Created and Copied - file is on the source drive
- but not the target drive. The file is
- copied to the target drive.
-
- S:FILE.NAM Created and Deleted - file is on the source drive
- but not the target drive. The copy
- failed so the file is deleted from the
- target drive. The file on the source
- drive is intact.
-
- OTHER MESSAGES:
-
- Invalid Drive Specification - Drive x
- Drive letters from A to F are acceptable
-
- where x is the invalid drive specification.
-
- Drive or file information not clear
-
- The information on the command line is not clear. Probably,
- the first drive designator or the colon was omitted.
-
- Open Failed for Input File
- Open Failed for Output File
-
- The input or output file could not be opened for some reason.
- Use COPY S:FILE.NAM T: to copy the file that could not be copied
- by KOPYNEW. There could be a problem with the file directory.
-
- All other messages are the same as the Error Return Table
- in the DOS 2.0 manual, appendix D, page D-14. If an unknown
- error code is returned to the programme by DOS, the message
- `Unexpected Error' is displayed.
-
- SUGGESTED USES:
-
- KOPYNEW was originally written to be used with ram disks. I
- develop software using a ram disk to hold my Macro Assembler, my
- Linker, my editor and the programme source. As I write in
- assembler, I tend to hang my computer frequently. Therefore I
- always had to copy the programme source, the assembled
- programme and any other files that I did not have a current copy
- of onto a floppy just in case I hung my computer. COPY C:*.* A:
- works but it is slow. KOPYNEW is much faster as it only
- copies new or updated files.
-
- I have also used KOPYNEW in an environment that included a
- regular hard disk with a removable cartridge disk for backup.
- As this was a large dBase II project with over 200 programmes and
- database files, keeping track of which programmes and files had
- been changed during the day become quite difficult. Copying only
- the new or updated files using KNEW C: D: was much faster than
- using COPY C:*.* D:.
-
- I have used KOPYNEW with a Tecmar ram disk, a Tecmar 33
- megabyte hard disk with a 5 megabyte removable cartridge and on a
- Tallgrass 12 megabyte hard disk. I used standard DOS 2.0 function
- calls throughout so that KNEW should work with any hard disk that
- works with DOS 2.0 or higher. If you have any problems, please
- contact me. See below.
-
- VERSIONS:
-
- KOPYNEW Version 1.00 was a basic copy utility that used
- the time and date stamping on the files to determine if a file
- should be copied.
-
- KOPYNEW Version 2.00 added flags for turning off the pause
- for disk swapping, the file by file listing and the copy summary
- at the end of the programme. Version 2.00 also added file name
- selection that allowed for both the `?' and `*' wildcard
- characters.
-
- KOPYNEW Version 3.00 omitted the file by file listing flag
- and the summary flag. The display now uses a window on the left to
- list the files and a window on the right side of the screen to display
- the copy summary while the programme is running. Version 3.00 also
- pauses when the target disk is full.
-
- KOPYNEW Version 3.10 is much smaller. In addition, a batch
- file is included to help people patch KOPYNEW to use different
- default drives. REVISE has its own instructions. It does need
- DEBUG.COM available in the same search path as REVISE.BAT and
- KNEW3.EXE.
-
- KOPYNEW Version 3.00 is copyrighted. It is, nevertheless,
- public domain software. If you have any comments or suggestions,
- I can be reached through the PCanada Bulletin Board (PC1049) or
- through the CompuServe Network (72365,301). Alternatively, my
- telephone number is 1-416-889-1409.
-
- Glen C. Siegel
- February 15, 1985